package com.paranoidvulture.javaEngine.Views;

import java.awt.Graphics2D;

import com.paranoidvulture.javaEngine.MainPackage.ScreenManager;


public abstract class ViewBase implements IView{
	private String name;
	private boolean enabled;
	private float posX;
	private float posY;
	private int width;
	private int height;
	ScreenManager s;	
	public ViewHandler views;
	public ViewBase(ScreenManager s ){
		this.s = s;
	}
	
	public int getWidth(){
		return width;
	}
	
	public void setWidth(int width){
		this.width = width;
	}
	
	public int getHeight(){
		return height;
	}
	
	public void setHeight(int height){
		this.height = height;
	}
	
	public float getPosX(){
		return posX;
	}
	
	public float getPosY(){
		return posY;
	}
	
	public void setPosX(float posX){
		this.posX = posX;
	}
	
	public void setPosY(float posY){
		this.posY = posY;
	}
	
	public String getName(){
		return name;
	}
	
	public void setName(String name){
		this.name = name;
	}
	
	public boolean getEnabled(){
		return enabled;
	}
	
	public void setEnabled(boolean enable){
		this.enabled = enable;
	}
	//***************************************************************	
	//Initiate
	public void init(){
	}
	
	//update
	public void update(long timePassed){

	}
	
	//draw
	public void draw(Graphics2D g) {

	}
}
